﻿<HTML>
<HEAD>
<TITLE>测试：vfp</TITLE>
<meta http-equiv="Content-Type" content="text/html; charset=GBK" /> 

</HEAD>
<BODY>
<OBJECT ID="ts"   height="500" width="100%" 
 CLASSID="CLSID:5F4DEA99-B45C-4399-ABBB-042BF65E7BF2"  codebase="1.cab">
    <PARAM NAME="_Version" VALUE="65536">
    <PARAM NAME="_ExtentX" VALUE="2646">
    <PARAM NAME="_ExtentY" VALUE="1323">
    <PARAM NAME="_StockProps" VALUE="0">
</OBJECT>
<p></p> 
下载控件后使用regsvr32注册,然后添加到信任网站: <a href="MyActiveX.ocx">点击下载控件</a>
<br>
或者信任证书文件自动安装<a href="myatx.cer">右键点击另存为下载证书</a>
<br>
js调用运行exe
<input type="text" name="e" id="e" value="notepad.exe"> <a href="javascript:run()">运行</a>
<script>
function run(){



ts.OpenExe(e.value);
}

</script>
</BODY>
</HTML>
